package com.digitalchina.lxnsy.zbsy;

import android.view.ViewGroup;
import android.widget.TextView;

import com.digitalchina.lxnsy.R;
import com.digitalchina.lxnsy.entity.ConsultDynamicListVO;
import com.digitalchina.lxnsy.entity.EarManagerListVO;
import com.digitalchina.lxnsy.toolkit.TimeUtil;
import com.jude.easyrecyclerview.adapter.BaseViewHolder;

import java.text.ParseException;

/**
 * ================================================
 * 项目名称：BigData
 * 类描述：
 * 包名：com.digitalchina.bigdata.viewholder
 * 创建人：郑皓
 * 创建时间：2018/2/7 11:45:58
 * 修改备注：
 * ================================================
 */

public class EarManagerListHolder extends BaseViewHolder<EarManagerListVO> {


    private TextView tvTel;
    private TextView tvIssue;
    private TextView tvReplyNum;

    public EarManagerListHolder(ViewGroup parent) {
        super(parent, R.layout.item_ear_manager_list);

        tvTel = $(R.id.tv_tel);
        tvIssue = $(R.id.tv_issue);
        tvReplyNum = $(R.id.tv_reply_num);
    }

    @Override
    public void setData(final EarManagerListVO data) {
        super.setData(data);

        tvTel.setText("耳标:"+data.earLabelNo);
        tvIssue.setText("芯片号:"+data.chipNo);
        tvReplyNum.setText("创建时间:"+data.createTime);
    }

}
